#0F2358#0F2358

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

Color values

HEX#0F2358
RGBrgb(15, 35, 88)
HSLhsl(224, 71%, 20%)
HSVhsv(224, 83%, 35%)
CMYKcmyk(83%, 60.2%, 0%, 65.5%)
CIE-LABlab(15.53, 13.96, -34.29)
CIE-LCHlch(15.53, 37.03, 292.15°)
OKLaboklab(27.69% -0.0088 -0.0989)
OKLCHoklch(27.69% 0.099 264.9)
XYZxyz(2.5589, 2.0079, 9.4833)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2358 #58440F
analogous
#0F4758 #0F2358 #200F58
triadic
#0F2358 #580F23 #23580F
tetradic
#0F2358 #580F47 #58440F #0F5820
square
#0F2358 #580F47 #58440F #0F5820
split-complementary
#0F2358 #58200F #47580F
monochromatic
#040A1A #060E24 #0F2358 #18388C #214DC1

Accessibility & contrast

On white

14.98
#0F2358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F2358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2358
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2358#FFFFFF#000000##FFFFFF
##0F23581.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#003039
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f2358;
/* rgb */ color: rgb(15, 35, 88);
/* oklch */ color: oklch(27.7% 0.099 264.9);
Tailwind
colors: {
  custom: {
    50: '#5b5d88',
    500: '#0f2358',
    950: '#000000',
  },
}
SCSS
$custom: #0f2358;
$custom-light: #5b5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2358",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 223.562,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27686,
    "c": 0.09933,
    "h": 264.9
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#0F2358
secondary
#927731
accent
#BC3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F2358

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

Preview Lab → · Contrast checker → · Palette generator →

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