#0F2456#0F2456

#0F2456 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.095 H 264.0°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#0F2456
RGBrgb(15, 36, 86)
HSLhsl(222, 70%, 20%)
HSVhsv(222, 83%, 34%)
CMYKcmyk(82.6%, 58.1%, 0%, 66.3%)
CIE-LABlab(15.67, 12.33, -32.72)
CIE-LCHlch(15.67, 34.97, 290.65°)
OKLaboklab(27.74% -0.0099 -0.0943)
OKLCHoklch(27.74% 0.095 264)
XYZxyz(2.5070, 2.0349, 9.0629)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2456 #56410F
analogous
#0F4756 #0F2456 #1E0F56
triadic
#0F2456 #560F24 #24560F
tetradic
#0F2456 #560F47 #56410F #0F561E
square
#0F2456 #560F47 #56410F #0F561E
split-complementary
#0F2456 #561E0F #47560F
monochromatic
#050B1A #060E22 #0F2456 #183A8A #2150BE

Accessibility & contrast

On white

14.93
#0F2456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0F2456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2456
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2456#FFFFFF#000000##FFFFFF
##0F24561.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012A58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2456;
/* rgb */ color: rgb(15, 36, 86);
/* oklch */ color: oklch(27.7% 0.095 264.0);
Tailwind
colors: {
  custom: {
    50: '#5a5e86',
    500: '#0f2456',
    950: '#000000',
  },
}
SCSS
$custom: #0f2456;
$custom-light: #5a5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2456",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 86
  },
  "hsl": {
    "h": 222.254,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27739,
    "c": 0.0948,
    "h": 264
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#0F2456
secondary
#907431
accent
#B83BED
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2456

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

Preview Lab → · Contrast checker → · Palette generator →

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