#0F2468#0F2468

#0F2468 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.5% C 0.122 H 265.8°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#0F2468
RGBrgb(15, 36, 104)
HSLhsl(226, 75%, 23%)
HSVhsv(226, 86%, 41%)
CMYKcmyk(85.6%, 65.4%, 0%, 59.2%)
CIE-LABlab(17.28, 20.07, -42.03)
CIE-LCHlch(17.28, 46.58, 295.52°)
OKLaboklab(29.45% -0.009 -0.1216)
OKLCHoklch(29.45% 0.122 265.8)
XYZxyz(3.3257, 2.3624, 13.3747)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2468 #68530F
analogous
#0F5068 #0F2468 #260F68
triadic
#0F2468 #680F24 #24680F
tetradic
#0F2468 #680F50 #68530F #0F6826
square
#0F2468 #680F50 #68530F #0F6826
split-complementary
#0F2468 #68260F #50680F
monochromatic
#04091B #071133 #0F2468 #17379D #1E49D3

Accessibility & contrast

On white

14.26
#0F2468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0F2468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2468
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2468#FFFFFF#000000##FFFFFF
##0F24681.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f2468;
/* rgb */ color: rgb(15, 36, 104);
/* oklch */ color: oklch(29.5% 0.122 265.8);
Tailwind
colors: {
  custom: {
    50: '#5f5e94',
    500: '#0f2468',
    950: '#000000',
  },
}
SCSS
$custom: #0f2468;
$custom-light: #5f5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2468",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 104
  },
  "hsl": {
    "h": 225.843,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29454,
    "c": 0.12195,
    "h": 265.8
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#0F2468
secondary
#A18732
accent
#C536F1
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #0F2468

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

Preview Lab → · Contrast checker → · Palette generator →

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