#0F2368#0F2368

#0F2368 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.2% C 0.123 H 266.1°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#0F2368
RGBrgb(15, 35, 104)
HSLhsl(227, 75%, 23%)
HSVhsv(227, 86%, 41%)
CMYKcmyk(85.6%, 66.3%, 0%, 59.2%)
CIE-LABlab(17.00, 20.80, -42.50)
CIE-LCHlch(17.00, 47.31, 296.08°)
OKLaboklab(29.24% -0.0084 -0.123)
OKLCHoklch(29.24% 0.123 266.1)
XYZxyz(3.2958, 2.3027, 13.3648)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2368 #68540F
analogous
#0F4F68 #0F2368 #270F68
triadic
#0F2368 #680F23 #23680F
tetradic
#0F2368 #680F4F #68540F #0F6827
square
#0F2368 #680F4F #68540F #0F6827
split-complementary
#0F2368 #68270F #4F680F
monochromatic
#04091B #071133 #0F2368 #17359D #1E47D3

Accessibility & contrast

On white

14.38
#0F2368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F2368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2368
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2368#FFFFFF#000000##FFFFFF
##0F23681.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0f2368;
/* rgb */ color: rgb(15, 35, 104);
/* oklch */ color: oklch(29.2% 0.123 266.1);
Tailwind
colors: {
  custom: {
    50: '#5f5d94',
    500: '#0f2368',
    950: '#000000',
  },
}
SCSS
$custom: #0f2368;
$custom-light: #5f5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2368",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 104
  },
  "hsl": {
    "h": 226.517,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29244,
    "c": 0.12327,
    "h": 266.1
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#0F2368
secondary
#A18832
accent
#C736F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2368

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

Preview Lab → · Contrast checker → · Palette generator →

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