#0F244C#0F244C

#0F244C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.079 H 261.8°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#0F244C
RGBrgb(15, 36, 76)
HSLhsl(219, 67%, 18%)
HSVhsv(219, 80%, 30%)
CMYKcmyk(80.3%, 52.6%, 0%, 70.2%)
CIE-LABlab(14.87, 7.94, -27.23)
CIE-LCHlch(14.87, 28.36, 286.26°)
OKLaboklab(26.88% -0.0113 -0.0781)
OKLCHoklch(26.88% 0.079 261.8)
XYZxyz(2.1319, 1.8849, 7.0875)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F244C #4C370F
analogous
#0F424C #0F244C #180F4C
triadic
#0F244C #4C0F24 #244C0F
tetradic
#0F244C #4C0F42 #4C370F #0F4C18
square
#0F244C #4C0F42 #4C370F #0F4C18
split-complementary
#0F244C #4C180F #424C0F
monochromatic
#050C1A #050C1A #0F244C #193C7F #2354B2

Accessibility & contrast

On white

15.25
#0F244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0F244C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F244C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F244C#FFFFFF#000000##FFFFFF
##0F244C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E284D
Deuteranopia (green-blind)
#02234B
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f244c;
/* rgb */ color: rgb(15, 36, 76);
/* oklch */ color: oklch(26.9% 0.079 261.8);
Tailwind
colors: {
  custom: {
    50: '#575e7e',
    500: '#0f244c',
    950: '#000000',
  },
}
SCSS
$custom: #0f244c;
$custom-light: #575e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f244c",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 219.344,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.07892,
    "h": 261.8
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#0F244C
secondary
#866931
accent
#AF3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F244C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F244C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva