#0F234D#0F234D

#0F234D is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.082 H 262.9°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#0F234D
RGBrgb(15, 35, 77)
HSLhsl(221, 67%, 18%)
HSVhsv(221, 81%, 30%)
CMYKcmyk(80.5%, 54.5%, 0%, 69.8%)
CIE-LABlab(14.62, 9.14, -28.32)
CIE-LCHlch(14.62, 29.75, 287.89°)
OKLaboklab(26.71% -0.0101 -0.0813)
OKLCHoklch(26.71% 0.082 262.9)
XYZxyz(2.1371, 1.8392, 7.2621)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F234D #4D390F
analogous
#0F424D #0F234D #1A0F4D
triadic
#0F234D #4D0F23 #234D0F
tetradic
#0F234D #4D0F42 #4D390F #0F4D1A
square
#0F234D #4D0F42 #4D390F #0F4D1A
split-complementary
#0F234D #4D1A0F #424D0F
monochromatic
#050C1A #050C1A #0F234D #193A80 #2352B3

Accessibility & contrast

On white

15.35
#0F234D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F234D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F234D
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F234D#FFFFFF#000000##FFFFFF
##0F234D1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B284F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f234d;
/* rgb */ color: rgb(15, 35, 77);
/* oklch */ color: oklch(26.7% 0.082 262.9);
Tailwind
colors: {
  custom: {
    50: '#575d7f',
    500: '#0f234d',
    950: '#000000',
  },
}
SCSS
$custom: #0f234d;
$custom-light: #575d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f234d",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 220.645,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26708,
    "c": 0.08196,
    "h": 262.9
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#0F234D
secondary
#876B31
accent
#B33EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F234D

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

Preview Lab → · Contrast checker → · Palette generator →

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