#0F235A#0F235A

#0F235A is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.102 H 265.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#0F235A
RGBrgb(15, 35, 90)
HSLhsl(224, 71%, 21%)
HSVhsv(224, 83%, 35%)
CMYKcmyk(83.3%, 61.1%, 0%, 64.7%)
CIE-LABlab(15.70, 14.82, -35.35)
CIE-LCHlch(15.70, 38.33, 292.75°)
OKLaboklab(27.87% -0.0087 -0.102)
OKLCHoklch(27.87% 0.102 265.1)
XYZxyz(2.6428, 2.0415, 9.9256)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F235A #5A460F
analogous
#0F485A #0F235A #200F5A
triadic
#0F235A #5A0F23 #235A0F
tetradic
#0F235A #5A0F48 #5A460F #0F5A20
square
#0F235A #5A0F48 #5A460F #0F5A20
split-complementary
#0F235A #5A200F #485A0F
monochromatic
#040A1A #060F26 #0F235A #18378E #204CC3

Accessibility & contrast

On white

14.91
#0F235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F235A
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F235A#FFFFFF#000000##FFFFFF
##0F235A1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f235a;
/* rgb */ color: rgb(15, 35, 90);
/* oklch */ color: oklch(27.9% 0.102 265.1);
Tailwind
colors: {
  custom: {
    50: '#5b5d89',
    500: '#0f235a',
    950: '#000000',
  },
}
SCSS
$custom: #0f235a;
$custom-light: #5b5d89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f235a",
  "rgb": {
    "r": 15,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 224,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27873,
    "c": 0.1024,
    "h": 265.1
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#0F235A
secondary
#947931
accent
#BE3AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F235A

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

Preview Lab → · Contrast checker → · Palette generator →

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