#0F2B4E#0F2B4E

#0F2B4E is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 28.8% C 0.073 H 255.5°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#0F2B4E
RGBrgb(15, 43, 78)
HSLhsl(213, 68%, 18%)
HSVhsv(213, 81%, 31%)
CMYKcmyk(80.8%, 44.9%, 0%, 69.4%)
CIE-LABlab(17.36, 3.60, -24.60)
CIE-LCHlch(17.36, 24.86, 278.33°)
OKLaboklab(28.85% -0.0182 -0.0702)
OKLCHoklch(28.85% 0.073 255.5)
XYZxyz(2.4355, 2.3791, 7.5371)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B4E #4E320F
analogous
#0F4A4E #0F2B4E #120F4E
triadic
#0F2B4E #4E0F2B #2B4E0F
tetradic
#0F2B4E #4E0F4A #4E320F #0F4E12
square
#0F2B4E #4E0F4A #4E320F #0F4E12
split-complementary
#0F2B4E #4E120F #4A4E0F
monochromatic
#050E1A #050F1B #0F2B4E #194781 #2364B5

Accessibility & contrast

On white

14.23
#0F2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0F2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B4E
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B4E#FFFFFF#000000##FFFFFF
##0F2B4E1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E4F
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2b4e;
/* rgb */ color: rgb(15, 43, 78);
/* oklch */ color: oklch(28.8% 0.073 255.5);
Tailwind
colors: {
  custom: {
    50: '#576380',
    500: '#0f2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b4e;
$custom-light: #576380;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b4e",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 213.333,
    "s": 67.742,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28847,
    "c": 0.07255,
    "h": 255.5
  },
  "luminance": 0.02379
}

Semantic roles & 50–950 ramp

primary
#0F2B4E
secondary
#886131
accent
#9E3DEB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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