#0F2458#0F2458

#0F2458 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.098 H 264.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#0F2458
RGBrgb(15, 36, 88)
HSLhsl(223, 71%, 20%)
HSVhsv(223, 83%, 35%)
CMYKcmyk(83%, 59.1%, 0%, 65.5%)
CIE-LABlab(15.84, 13.20, -33.79)
CIE-LCHlch(15.84, 36.28, 291.34°)
OKLaboklab(27.92% -0.0097 -0.0974)
OKLCHoklch(27.92% 0.098 264.3)
XYZxyz(2.5887, 2.0676, 9.4933)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2458 #58430F
analogous
#0F4858 #0F2458 #1F0F58
triadic
#0F2458 #580F24 #24580F
tetradic
#0F2458 #580F48 #58430F #0F581F
square
#0F2458 #580F48 #58430F #0F581F
split-complementary
#0F2458 #581F0F #48580F
monochromatic
#040B1A #060F24 #0F2458 #18398C #214FC1

Accessibility & contrast

On white

14.86
#0F2458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2458
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2458#FFFFFF#000000##FFFFFF
##0F24581.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2458;
/* rgb */ color: rgb(15, 36, 88);
/* oklch */ color: oklch(27.9% 0.098 264.3);
Tailwind
colors: {
  custom: {
    50: '#5a5e88',
    500: '#0f2458',
    950: '#000000',
  },
}
SCSS
$custom: #0f2458;
$custom-light: #5a5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2458",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 222.74,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2792,
    "c": 0.09791,
    "h": 264.3
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#0F2458
secondary
#927631
accent
#BA3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2458

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

Preview Lab → · Contrast checker → · Palette generator →

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