#05233F#05233F

#05233F is a dark, moderate cyan. Relative luminance 0.016; OKLCH L 25.2% C 0.064 H 250.4°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#05233F
RGBrgb(5, 35, 63)
HSLhsl(209, 85%, 13%)
HSVhsv(209, 92%, 25%)
CMYKcmyk(92.1%, 44.4%, 0%, 75.3%)
CIE-LABlab(13.19, 1.27, -20.95)
CIE-LCHlch(13.19, 20.98, 273.48°)
OKLaboklab(25.16% -0.0213 -0.0598)
OKLCHoklch(25.16% 0.064 250.4)
XYZxyz(1.5605, 1.5930, 4.9269)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#05233F #3F2105
analogous
#053F3E #05233F #05063F
triadic
#05233F #3F0523 #233F05
tetradic
#05233F #3E053F #3F2105 #063F05
square
#05233F #3E053F #3F2105 #063F05
split-complementary
#05233F #3F0506 #3F3E05
monochromatic
#02101C #02101C #05233F #094278 #0E62B0

Accessibility & contrast

On white

15.93
#05233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#05233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #05233F
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##05233F#FFFFFF#000000##FFFFFF
##05233F1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152540
Deuteranopia (green-blind)
#0C203E
Tritanopia (blue-blind)
#002A2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #05233f;
/* rgb */ color: rgb(5, 35, 63);
/* oklch */ color: oklch(25.2% 0.064 250.4);
Tailwind
colors: {
  custom: {
    50: '#505d74',
    500: '#05233f',
    950: '#000000',
  },
}
SCSS
$custom: #05233f;
$custom-light: #505d74;
$custom-dark: #000000;
JSON
{
  "hex": "#05233f",
  "rgb": {
    "r": 5,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 208.966,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25156,
    "c": 0.06353,
    "h": 250.4
  },
  "luminance": 0.01593
}

Semantic roles & 50–950 ramp

primary
#05233F
secondary
#804E20
accent
#902CFC
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#020408
muted
#78797B

Preview Lab

Preview with #05233F

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

Preview Lab → · Contrast checker → · Palette generator →

#05233F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva