#0F233F#0F233F

#0F233F is a dark, muted blue. Relative luminance 0.017; OKLCH L 25.6% C 0.059 H 257.2°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#0F233F
RGBrgb(15, 35, 63)
HSLhsl(215, 62%, 15%)
HSVhsv(215, 76%, 25%)
CMYKcmyk(76.2%, 44.4%, 0%, 75.3%)
CIE-LABlab(13.60, 3.02, -20.26)
CIE-LCHlch(13.60, 20.48, 278.49°)
OKLaboklab(25.6% -0.0131 -0.0577)
OKLCHoklch(25.6% 0.059 257.2)
XYZxyz(1.6949, 1.6623, 4.9332)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F233F #3F2B0F
analogous
#0F3B3F #0F233F #130F3F
triadic
#0F233F #3F0F23 #233F0F
tetradic
#0F233F #3F0F3B #3F2B0F #0F3F13
square
#0F233F #3F0F3B #3F2B0F #0F3F13
split-complementary
#0F233F #3F130F #3B3F0F
monochromatic
#060E19 #060E19 #0F233F #1B3E70 #275AA2

Accessibility & contrast

On white

15.76
#0F233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0F233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F233F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F233F#FFFFFF#000000##FFFFFF
##0F233F1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162540
Deuteranopia (green-blind)
#0F213E
Tritanopia (blue-blind)
#00292D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #0f233f;
/* rgb */ color: rgb(15, 35, 63);
/* oklch */ color: oklch(25.6% 0.059 257.2);
Tailwind
colors: {
  custom: {
    50: '#545d74',
    500: '#0f233f',
    950: '#000000',
  },
}
SCSS
$custom: #0f233f;
$custom-light: #545d74;
$custom-dark: #000000;
JSON
{
  "hex": "#0f233f",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 215,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25599,
    "c": 0.05913,
    "h": 257.2
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#0F233F
secondary
#795B30
accent
#A143E5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #0F233F

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

Preview Lab → · Contrast checker → · Palette generator →

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