#0F244F#0F244F

#0F244F is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.084 H 262.6°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0F244F
RGBrgb(15, 36, 79)
HSLhsl(220, 68%, 18%)
HSVhsv(220, 81%, 31%)
CMYKcmyk(81%, 54.4%, 0%, 69%)
CIE-LABlab(15.10, 9.26, -28.90)
CIE-LCHlch(15.10, 30.35, 287.77°)
OKLaboklab(27.13% -0.0108 -0.083)
OKLCHoklch(27.13% 0.084 262.6)
XYZxyz(2.2387, 1.9276, 7.6497)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F244F #4F3A0F
analogous
#0F444F #0F244F #1A0F4F
triadic
#0F244F #4F0F24 #244F0F
tetradic
#0F244F #4F0F44 #4F3A0F #0F4F1A
square
#0F244F #4F0F44 #4F3A0F #0F4F1A
split-complementary
#0F244F #4F1A0F #444F0F
monochromatic
#050C1A #050D1C #0F244F #193B82 #2353B6

Accessibility & contrast

On white

15.16
#0F244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F244F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F244F#FFFFFF#000000##FFFFFF
##0F244F1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2951
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f244f;
/* rgb */ color: rgb(15, 36, 79);
/* oklch */ color: oklch(27.1% 0.084 262.6);
Tailwind
colors: {
  custom: {
    50: '#585e81',
    500: '#0f244f',
    950: '#000000',
  },
}
SCSS
$custom: #0f244f;
$custom-light: #585e81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f244f",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 220.313,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.08374,
    "h": 262.6
  },
  "luminance": 0.01928
}

Semantic roles & 50–950 ramp

primary
#0F244F
secondary
#896C31
accent
#B23DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F244F

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

Preview Lab → · Contrast checker → · Palette generator →

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